﻿<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>雪之蓝励志人生</title>

<link href="css/main.css" rel="stylesheet" type="text/css" />
<style>
#nav li:hover ul {
 left: auto;
}
#nav li.sfhover ul {
 left: auto;
}
.hint {
display: none;
    position: absolute;
    right: -160px;
    width: 200px;
    margin-top: -4px;
    border: 1px solid #c93;
    padding: 10px 12px;
    background: #ffc url(/jscss/demoimg/200911/pointer.gif) no-repeat -10px 5px;
}
.hint .hint-pointer {
    position: absolute;
    left: -10px;
    top: 5px;
    width: 10px;
    height: 19px;
    background: url(/jscss/demoimg/200911/pointer.gif) left top no-repeat;
}
</style>
<script>
function a(){
	window.location="index.php";
}

function menuFix() {
 var sfEls = document.getElementById("nav").getElementsByTagName("li");
 for (var i=0; i<sfEls.length; i++) {
  sfEls[i].onmouseover=function() {
  this.className+=(this.className.length>0? " ": "") + "sfhover";
  }
  sfEls[i].onmouseout=function() {
	this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"),"");
  }
 }
}
window.onload=menuFix;
function createcode(){ 
	var code = ""; 
	var array = new Array(0,1,2,3,4,5,6,7,8,9); 
	for(var i=0;i<4;i++){ 
	var index = Math.floor(Math.random()*10); 
	code +=array[index]; 
	} 
	document.getElementById("verifycode").innerHTML=code; 
	} 
function panduan(){
	mima2=document.getElementById("mima2").value;
	mima1=document.getElementById("mima1").value;
	shouji=document.getElementById("shouji").value;
	
	if(mima2!=""){
		if( mima1!=""){
	if(mima2!=mima1){
		alert('两次密码不一样！');
	}
	}else{alert('密码不能为空！');}
	}
	
    if(shouji.length==11 || shouji.length==0){
	if(isNaN(shouji)){
		alert('请输入正确的手机号！');
		mima2.focus();
	}
    }else{
    	alert("手机号只能是11位！")
    }
	
}
function yong1(){
	yong=document.getElementById("yong").value;
	if(yong==""){
		alert("用户不能为空！");
	}
}
function b(){
	var a=document.getElementById("verifycode").innerText;
	var b=document.getElementById("yan").value;

	if(a!=b){
		alert('请输入正确的验证码！');
		yan.focus();
	}
	
}
</script>
<style>a{TEXT-DECORATION:none}</style> 
<link href="css/style1.css" type="text/css" rel="stylesheet" id="cssfile" />
</head>


<body onload="createcode();">
<div id="biaoti" style="HEIGHT: 20px" >
<!--<a href="http://www.baidu.com"><img src="images/dl.jpg"width="30" height="20" >|</a>
可以添加为图片，也可以改变图片的大小！-->
<a href="denglv.php">登录&nbsp;&nbsp; </a>
</div >
<div id="top" >
	 <img src="images/b01.jpg"width="1024" height="200" >
					<div id="daohang"> 
					  <ul id="nav">
					    <li><a href="index.php" target="_self">首页</a></li>
					    <li><a href="分页/fazhanshi.html" target="_self">励志文章</a></li>
					    <li><a href="分页/shengjinggushi.html" target="_self">人生感悟</a></li>
					    <li><a href="http://www.chinesebibleonline.com/" target="_self">励志书籍</a></li>
					    <li><a href="分页/jianzheng.html" target="_self">企业新间</a>
					    </li>
					    <li><a href="分页/guanyuwomen.html" target="_self">管理网站</a>
					    </li>
					    <li><a href="分页/guanyuwomen.php" target="_self">联系我们</a></li>
					  </ul>
					</div>		
</div>
<div>
<div id="left">
       <?php
       include"biao.php";
       ?>
       <div id="" width="200" height="200" style="border:1px solid #000;">
<h1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;天气</h1>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<iframe name="sinaWeatherTool" src="http://weather.news.sina.com.cn/
chajian/iframe/weatherStyle32.html?city=%E7%A7%A6%E7%9A%87%E5%B2%9B" width="180" height="180" marginwidth="0" 
marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
</div>
<div id="zaixian" >       <!-- 在线客服 -->
<p class="fs14">在线客服1:<br />
        <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=1279763113&amp;site=qq&amp;menu=yes" class=""><img border="0" 

src="http://wpa.qq.com/pa?p=2:2833026848:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></p>
      <p class="fs14">在线客服2:<br />
        <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=577081950&amp;site=qq&amp;menu=yes" class=""><img border="0" 

src="http://wpa.qq.com/pa?p=2:2833026848:51" alt="点击这里给我发消息" title="点击这里给我发消息" ></a></p>
      
      <p class="fs14">商务客服:<br />
        <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=1279763113&amp;site=qq&amp;menu=yes" class=""><img border="0" 

src="http://wpa.qq.com/pa?p=2:2833026848:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></p>
      
      <p class="mt10">服务时间:<br />
        9:00-18:00(工作日)<br />
      </p>

</div>           <!-- 在线客服结束 -->
</div>    
		<div id="zhong">
		<div id="li">注册界面：</div>
		     <div id="mima">
		            <form  action="PHP.php" method="get">
		                <br/>
		                <div class="weizhi">
					    <p><label>用户称：</label>
						<input type="text" name="yonghu" id="yong" onblur="yong1()"></p>
						<br/>
						<p><label>密&nbsp;&nbsp;&nbsp;码：</label>
						<input type="password" id="mima1" name="mima"></p>
						<br/>
						<p><label>再次输入密码：</label>
						<input type="password" id="mima2" Placeholder="密码" onblur="panduan()"></p>
						<br/>
					    <p><label>手机号：</label>
						<input type="text" id="shouji" name="shouji1" onblur="panduan()"></p>
						<br/>
									  <?php
                                       include"chusheng.php";
                                      ?>
									<br/>
									  <?php
                                      include"diqu.php";
                                         ?>
									<!--<?php
                                        include"chusheng.php";
                                    ?>
									<br/>
									<?php
                                        include"diqu.php";
                                    ?>-->
                                    <br/>
								        <a><label>详&nbsp;细&nbsp;地&nbsp;址:&nbsp;</label>
								         <input type="text"  Placeholder="请输入详细地址" name="xiangzhi"></a>
										<br/>
						<div class="yanzheng"><p><label>验证码：</label>
						<label id="verifycode">8888</label>
						
						&nbsp;&nbsp;<input type="button" name="genghuan" value="更换" onClick="createcode()">
						<input type="text" id="yan" onblur="b()">
						</p></div>
						</div>
						<br/>
						<div class="annui">
						<input type="submit" name="queding" value="确定">
						&nbsp;&nbsp;&nbsp;&nbsp;
						<input type="button"  name="button" value="取消" onClick="a(this.form)" >
						 </div>
						</form>
					  
		     </div>    
			
		</div>
				
		</div>

<div id="innerWrapper">
	  <div id="ly-footer">
	    <a href="guanyuwomen.php" >联系我们</a>&nbsp; |&nbsp; 
	    &nbsp; <a href="denglv.php">管理员登录</a>&nbsp; |&nbsp;<a href="PHP.php">收藏本站</a> <br /> 
	        雪之兰  版权所有 Copyright 2017-2019 © 雪之兰工作室<br />
	     为了您正常的浏览页面，推荐使用分辨率为1080×800及以上
	  </div>
</div>
</body>
</html>